Only start logind if dbus is installed
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 9 Feb 2015 09:53:43 +0000 (10:53 +0100)
committerMichael Biebl <biebl@debian.org>
Fri, 10 Jun 2022 21:51:50 +0000 (22:51 +0100)
commit5e5cb0649b9752a764734bd8dcac0739c4608fa4
treec93b678b733f4189dfad727d0af212b3affd00f8
parentb1666b1abb341757b326fecff06988d9310d76b6
Only start logind if dbus is installed

logind fails to start in environments without dbus, such as LXC containers or
servers. Add a startup condition to avoid the very noisy startup failure.

Consider both dbus-daemon (the reference implementation) and
dbus-broker.

Part of #772700

Gbp-Pq: Topic debian
Gbp-Pq: Name Only-start-logind-if-dbus-is-installed.patch
units/systemd-logind.service.in